package com.example.mvpdemo.mvp5.base;


public abstract class BasePresenter5<V extends BaseView5>{
    private V view;

    public V getView() {
        return view;
    }


    //绑定View
    public void attachView(V view){
        this.view=view;
    }

    //解绑View
    public void detachView(V view){
        this.view=null;
    }
}
